﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.DAL
{
    public interface ISourceDAL
    {
        int Insert(SourceInfo srcInfo);

        int Update(SourceInfo srcInfo);

        int Delete(int seq);

        IList<SourceInfo> Search(SourceInfo srcInfo);

        IList<TreeViewInfo> TreeView(IList<TreeViewInfo> treeView, bool isRootNode);

        bool CheckDuplicateCode(string code, string currentSeq);
    }
}
